/* $Id: ProcessStepActionDomainObjectManager.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.domain.manager;

import java.util.List;

import ae.pcfc.etks.online.common.ConstantsCommon.WorkflowDepartment;

public interface ProcessStepActionDomainObjectManager extends
		BaseDomainObjectManager {
	/**
	 * isAllDepartmentsApproved
	 * Method to find whether the specified departments have approved the application
	 * @param departments
	 * @param applicationId
	 * @return
	 * boolean
	 */
	public boolean isAllDepartmentsApproved(List<WorkflowDepartment> departments, String applicationId);

	/**
	 * isAllDepartmentsActed
	 * Method to find whether the specified departments have acted on the application
	 * @param wfDepartments
	 * @param applicationId
	 * @return
	 * boolean
	 */
	public boolean isAllDepartmentsActed(List<WorkflowDepartment> wfDepartments, String applicationId);
}
